package com.project.xy.service.impl;

import com.project.xy.entity.DConfigFileKind;
import com.project.xy.mapper.DConfigFileKindMapper;
import com.project.xy.service.DConfigFileKindService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DConfigFileKindServiceImpl implements DConfigFileKindService {

    @Autowired
    private DConfigFileKindMapper mapper;

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return mapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(DConfigFileKind record) {
        return mapper.insert(record);
    }

    @Override
    public int insertSelective(DConfigFileKind record) {
        return mapper.insertSelective(record);
    }

    @Override
    public DConfigFileKind selectByPrimaryKey(Integer id) {
        return mapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(DConfigFileKind record) {
        return mapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(DConfigFileKind record) {
        return mapper.updateByPrimaryKey(record);
    }

    @Override
    public List<DConfigFileKind> selectByLevel(Integer level) {
        return mapper.selectByLevel(level);
    }


}
